<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:val="http://shale.apache.org/validator">
	<head>
		<title></title>
	</head>
	<body>
		<ui:composition template="/Template/template01.xhtml">
			<ui:define name="body">
				<link href="css/estilos.css" rel="stylesheet" type="text/css" />
				<script>
					menuOpen(3, "M84");
					
					//Metodo que habilita el boton Search una vez que se haya terminado de cargar toda la pagina
					$(document).ready(function() {					
						var buttonSearch = document.getElementById('consultForm:search');						
						buttonSearch.disabled = false;			
						
						var para = $("#consultForm\\:ocultar");
						if(para.val()=="#{message.show}"){
							$("#tOcultar").hide();
						}
						
					   $('#consultForm\\:ocultar').click(function () {
							$("#tOcultar").slideToggle('slow');
							var para = $("#consultForm\\:ocultar");
							if(para.val()=="#{message.show}"){
								document.getElementById("consultForm:ocultar").setAttribute("value","#{message.hide}");
							}else if(para.val()=="#{message.hide}"){
								document.getElementById("consultForm:ocultar").setAttribute("value","#{message.show}");
							}else{
								
							}
						});		
						 
					});
					
					function validaHabilita(){ 
						//Recupera los valores
						var fecinicio= document.getElementById('consultForm:txtFecInicio').value;
						var fecfin= document.getElementById('consultForm:txtFecFin').value;
						//Setea los valores
						document.getElementById("consultForm:txtFecInicio2").setAttribute("value",fecinicio);
						document.getElementById("consultForm:txtFecFin2").setAttribute("value",fecfin);
						return true;
					}
				   			   					
				</script>
				<h:form id="consultForm"
					onsubmit="return validateConsultForm(this);">
				   <h:inputHidden id="txtFecInicio2" value="#{tx.txLogic.dateTxIni}"/>
				   <h:inputHidden id="txtFecFin2" value="#{tx.txLogic.dateTxEnd}"/>
					<table width="95%" border="0" cellpadding="0" cellspacing="0"
						class="TablaBody1">
						<tr>
							<td colspan="2" align="right" class="CelTop">
								<img src="images/transp.gif" width="1" height="1" />
							</td>
							<td width="6%" rowspan="3" align="right" valign="middle">
							</td>
						</tr>
						<tr>
							<td width="3%" height="10" align="right">
								<img src="images/flechanaranja.gif" width="11" height="13"
									hspace="6" />
							</td>
							<td width="91%">
								<span class="TextoTitulosBlack">
									#{message.case_ConsultationGestionDeCasos}: </span>
								<span class="TextoTitulos"> #{message.menuConsulta} </span>
							</td>
						</tr>
						<tr>
							<td height="19" align="right" class="CelUnder">
							</td>
							<td class="TextoTitulos">
							</td>
						</tr>
					</table>

					<!--INICIO DE TABLA -->

					<h:inputText maxlength="13" size="13" id="ocultar"
						value="#{tx.txLogic.filtro}" onfocus="this.blur()"
						styleClass="botonocultar" />
					<br></br>
					<table class="TablaContentFiltros" id="tOcultar"
						style="border: 0px;">

						<tr>
							<td>
								<table id="tOcultar2" class="TablaFiltros" border="0"
									cellpadding="0" cellspacing="0" width="100%">
					
									<tr>
										<td width="604">
											<table width="100%">
							<c:if test="#{login.loginLogic.typeEntity == '2'}">
												<tr>
													<td width="33%">
														<span class="TextMandatoryField">*</span>
														<span class="Titulos">
															#{message.cfg_InformationServicio}: </span>
													</td>
													<td colspan="3" class="TextoCuerpo1">
														<span class="TextMandatoryField">*</span>
														<span class="Titulos">#{message.case_ConsultationTablaColumna5}: </span>
													</td>
												</tr>	
												<tr>
													<td>
														<h:selectOneMenu id="idServiceAcq"
															value="#{tx.txLogic.idServiceAcq}" 
															styleClass="combo1">
															<c:if test="#{tx.txLogic.listServAcq == null}">
																<f:selectItem itemLabel="#{message.seleccione}"
																	itemValue="" />
															</c:if>
															<c:if test="#{tx.txLogic.listServAcq != null}">
																<f:selectItem itemLabel="#{message.seleccione}"
																	itemValue="" />
																<f:selectItems value="#{tx.txLogic.listServAcq}" />
															</c:if>
															<val:commonsValidator type="required"
																arg="#{message.servicio}" client="true" server="true" />
														</h:selectOneMenu>
													</td>
													<td colspan="3">
														<h:selectManyCheckbox id="check3"
															value="#{tx.txLogic.state}">
															<f:selectItem itemLabel="#{message.revision2}"
																itemValue="1" />
															<f:selectItem itemLabel="#{message.rechazar2}"
																itemValue="2" />
															<f:selectItem itemLabel="#{message.aceptar2}"
																itemValue="3" />
														</h:selectManyCheckbox>
													</td>
												</tr>	
												
							</c:if>				
							<c:if test="#{login.loginLogic.typeEntity == '1'}">
												<tr>
													<td width="33%">
														<span class="TextMandatoryField">*</span>
														<span class="Titulos">
															#{message.cfg_InformationServicio}: </span>
													</td>
													<td width="33%">
														<span class="Titulos"> #{message.comercio}: </span>:
													</td>
													<td class="Titulos" width="34%">
														#{message.pro_AssocRulePerfil}:
													</td>
												</tr>
												<tr>
													<td>
														<h:selectOneMenu id="idServiceAcq"
															value="#{tx.txLogic.idServiceAcq}"
															onchange="javascript:clickLink('hiddenLink');"
															styleClass="combo1">
															<c:if test="#{tx.txLogic.listServAcq == null}">
																<f:selectItem itemLabel="#{message.seleccione}"
																	itemValue="" />
															</c:if>
															<c:if test="#{tx.txLogic.listServAcq != null}">
																<f:selectItem itemLabel="#{message.seleccione}"
																	itemValue="" />
																<f:selectItems value="#{tx.txLogic.listServAcq}" />
															</c:if>
															<val:commonsValidator type="required"
																arg="#{message.servicio}" client="true" server="true" />
														</h:selectOneMenu>
													</td>
													<td>
														<h:selectOneMenu id="idCom" value="#{tx.txLogic.idCom}"
															styleClass="combo1">
															<c:if test="#{tx.txLogic.listCom == null}">
																<f:selectItem itemLabel="#{message.todos}" itemValue="0" />
															</c:if>
															<c:if test="#{tx.txLogic.listCom != null}">
																<f:selectItem itemLabel="#{message.todos}" itemValue="0" />
																<f:selectItems value="#{tx.txLogic.listCom}" />
															</c:if>
														</h:selectOneMenu>
													</td>
													<td class="Titulos">
														<h:selectOneMenu id="idPro"
															value="#{tx.txLogic.idProfile}" styleClass="combo1">
															<c:if test="#{tx.txLogic.listPro == null}">
																<f:selectItem itemLabel="#{message.todos}" itemValue="0" />
															</c:if>
															<c:if test="#{tx.txLogic.listPro != null}">
																<f:selectItem itemLabel="#{message.todos}" itemValue="0" />
																<f:selectItems value="#{tx.txLogic.listPro}" />
															</c:if>
														</h:selectOneMenu>
													</td>
												</tr>
							</c:if>					
											</table>
										</td>
									</tr>
									<tr>
										<td height="31">
											<table width="100%">
												<tr>
													<td colspan="3" class="SpaceVert">
														<img src="images/transp.gif" width="1" height="1"
															class="SpaceVert" />
													</td>
												</tr>
												<tr>
													<td width="33%">
														<span class="Titulos">
															#{message.case_ConsultationRevisionTarjeta}: </span>
													</td>
													<td colspan="2">
														<span class="Titulos">
															#{message.case_ConsultationRevisionPuntaje} : </span>
													</td>
												</tr>
												<tr>
													<td>
														<span class="Titulos"> <h:inputText
																value="#{tx.txLogic.cardNumber}" maxlength="19"
																styleClass="Texbox2">
																<val:commonsValidator type="mask"
																	arg="#{message.tarjeta}" client="true" server="true">
																	<val:validatorVar name="mask" value="^[0-9]*$" />
																</val:commonsValidator>
																
															</h:inputText> </span>
													</td>
													<td width="33%">
														#{message.case_ConsultationRevisionMayor}:
														<h:inputText id="idScoreIni"
															value="#{tx.txLogic.scoreIni}" maxlength="3" size="3"
															styleClass="Texbox2">
															<val:commonsValidator type="mask"
																arg="#{message.puntajeMayorA}" client="true"
																server="true">
																<val:validatorVar name="mask" value="^[0-9]*$" />
															</val:commonsValidator>
														</h:inputText>
													</td>
													<td width="34%">
														#{message.case_ConsultationRevisionMenor}:
														<strong> <h:inputText id="idScoreEnd"
																value="#{tx.txLogic.scoreEnd}" maxlength="3" size="3"
																styleClass="Texbox2">
																<val:commonsValidator type="mask"
																	arg="#{message.puntajeMenorA}" client="true"
																	server="true">
																	<val:validatorVar name="mask" value="^[0-9]*$" />
																</val:commonsValidator>
															</h:inputText> </strong>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td height="5">
											<img src="images/transp.gif" width="1" height="1"
												class="SpaceVert" />
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%">
												<tr>
													<td width="33%">
														<span class="Titulos"> Id. Tx </span>
													</td>
													<td colspan="2" class="TextoCuerpo1" width="33%">
														<span class="Titulos"> <span
															class="TextMandatoryField">*</span>
															#{message.case_ConsultationRevisionFechaTx}: </span>
													</td>
												</tr>
												<tr>
													<td>
														<h:inputText value="#{tx.txLogic.idTx}"
															styleClass="Texbox2">
															<val:commonsValidator type="mask" arg="Id. Tx"
																client="true" server="true">
																<val:validatorVar name="mask" value="^[0-9]*$" />
															</val:commonsValidator>
														</h:inputText>
													</td>
													<td width="34%" class="TextoCuerpo1">
														#{message.inicio}:&#160;
														<h:inputText id="txtFecInicio"
															value="#{tx.txLogic.dateTxIni}" styleClass="Texbox2"
															maxlength="10" size="11"
															readonly="true">
														</h:inputText>
														<img align="bottom" src="images/cal.gif"
															alt="#{message.altSeleccione}" id="f_trigger_c" />
													</td>
													<td width="33%">
														#{message.fin}:
														<span class="Titulos"> <span class="TextoCuerpo1">
																<h:inputText id="txtFecFin"
																	value="#{tx.txLogic.dateTxEnd}" styleClass="Texbox2"
																	maxlength="10" size="11"  readonly="true">
																	
																</h:inputText> <img align="bottom" src="images/cal.gif"
																	alt="#{message.altSeleccione}" id="f_trigger_d" /> </span> </span>
													</td>

													<td class="TextoCuerpo1">

													</td>
												</tr>
											</table>
										</td>
									</tr>

									<!-- INICIO -->
			
									<tr>
										<td>
											<table width="100%">
							<c:if test="#{login.loginLogic.typeEntity == '1'}">
												<tr>
													<td colspan="3" class="TextoCuerpo1">
														<span class="TextMandatoryField">*</span>
														<span class="Titulos">#{message.case_ConsultationTablaColumna5}: </span>
													</td>
												</tr>
												<tr>
													<td colspan="3">
														<h:selectManyCheckbox id="check3"
															value="#{tx.txLogic.state}">
															<f:selectItem itemLabel="#{message.revision2}"
																itemValue="1" />
															<f:selectItem itemLabel="#{message.rechazar2}"
																itemValue="2" />
															<f:selectItem itemLabel="#{message.aceptar2}"
																itemValue="3" />
														</h:selectManyCheckbox>
													</td>
												</tr>
								</c:if>							
											</table>
										</td>
									</tr>
						

									<!-- FIN -->

									<tr>
										<td>
											<table width="100%">
												<tr>
													<td colspan="2" class="TextoCuerpo1">
														&nbsp;
													</td>
												</tr>
												<tr>
													<td width="76%" class="TextTabBody1">
														<span class="TextTexbox"> <span
															class="TextMandatoryField">*</span>&nbsp; </span>
														#{message.camposOblig}
														<img src="images/spacer.gif" width="1" height="1" />
													</td>
													<td width="24%">
														<h:commandButton id="search" value="#{message.buscar}"
															action="#{tx.resultSearchTx}"
															onclick="javascript:validaHabilita();"
															styleClass="botonMediano"
															disabled="true" />
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<!--FIN DE TABLA -->
					<table>
						<tr>
							<td height="15"></td>
						</tr>
					</table>
					<table>
						<tr>
							<td>
							<c:if test="#{tx.txLogic.rowsFound2 != 0}">	
								<table width="95%">
									<tr>
										<td valign="top" align="left" class="FondoCelCab">
											<c:if test="#{tx.txLogic.rowsFound > 0}">
												<table>
													<tr>
														<td valign="top" align="left" class="FondoCelCab">
															<h:outputText id="inf1"
																value="#{tx.txLogic.totalRows} #{message.mensajeSuperior} #{tx.txLogic.firstRow + 1} #{message.mensajeSuperior2} #{tx.txLogic.firstRow + tx.txLogic.rowsFound}" />
														</td>
													</tr>
												</table>
											</c:if>
											<c:if test="#{tx.txLogic.totalRows > tx.txLogic.rowsPerPage}">
												<table width="100%">
													<tr>
														<td align="left" width="50%">
															[&#160;
															<h:commandLink value="#{message.pagPrimera}"
																action="#{tx.txLogic.pageFirst}"
																rendered="#{tx.txLogic.firstRow > 0}" immediate="true" />
															<h:outputText value="#{message.pagPrimera}"
																rendered="#{tx.txLogic.firstRow == 0}" />
															/
															<h:commandLink value="#{message.pagAnterior}"
																action="#{tx.txLogic.pagePrevious}"
																rendered="#{tx.txLogic.firstRow > 0}" immediate="true" />
															<h:outputText value="#{message.pagAnterior}"
																rendered="#{tx.txLogic.firstRow == 0}" />
															] &#160;
															<t:dataList value="#{tx.txLogic.pages}" var="page">
																<t:commandLink value="#{page}"
																	actionListener="#{tx.txLogic.page}"
																	rendered="#{page != tx.txLogic.currentPage}"
																	immediate="true" />
																<h:outputText value="#{page}" escape="false"
																	rendered="#{page == tx.txLogic.currentPage}" />&#160;
															</t:dataList>
															&#160; [&#160;
															<h:commandLink value="#{message.pagProxima}"
																action="#{tx.txLogic.pageNext}"
																rendered="#{tx.txLogic.totalRows > tx.txLogic.firstRow + tx.txLogic.rowsPerPage}"
																immediate="true" />
															<h:outputText value="#{message.pagProxima}"
																rendered="#{tx.txLogic.firstRow + tx.txLogic.rowsPerPage >= tx.txLogic.totalRows}" />
															/
															<h:commandLink value="#{message.pagUltima}"
																action="#{tx.txLogic.pageLast}"
																rendered="#{tx.txLogic.totalRows > tx.txLogic.firstRow + tx.txLogic.rowsPerPage}"
																immediate="true" />
															<h:outputText value="#{message.pagUltima}"
																rendered="#{tx.txLogic.firstRow + tx.txLogic.rowsPerPage >= tx.txLogic.totalRows}" />
															]
														</td>
														<td align="right" width="100%">
															<h:outputText
																value="#{message.mensajeInferior} #{tx.txLogic.currentPage} #{message.mensajeInferior2} #{tx.txLogic.totalPages}" />
														</td>
													</tr>
												</table>
											</c:if>
										</td>
									</tr>
								</table>
							
								<h:dataTable id="dt" binding="#{tx.dataTable}"
									value="#{tx.txLogic.listTx}" var="trans"
									rows="#{tx.txLogic.rowsPerPage}" border="0"
									styleClass="TablaFondo2Listado">
									<h:column id="c0001">
										<f:facet name="header">
											<h:commandLink id="t0001" value="Id"
												actionListener="#{tx.txLogic.sort}" styleClass="FondoCel1">
												<f:attribute name="sortField" value="id" />
											</h:commandLink>
										</f:facet>
										<div id="L97">
											<h:commandLink id="v0001" value="#{trans.id}"
												action="#{tx.detail}" styleClass="FondoCel3" />
										</div>
									</h:column>
									
				<c:if test="#{login.loginLogic.typeEntity == '2'}">					
							<h:column id="c0002">
										<f:facet name="header">
											<h:outputText id="t0002"
												value="#{message.pan}"
												styleClass="FondoCel1" />
										</f:facet>
										<h:outputText id="v0002" value="#{trans.BIN}******#{trans.PANLast}"
											styleClass="FondoCel3" />
									</h:column>		
				</c:if>					
					<c:if test="#{login.loginLogic.typeEntity == '1'}">				
									<h:column id="c0002">
										<f:facet name="header">
											<h:outputText id="t0002"
												value="#{message.case_ConsultationRevisionPerfil}"
												styleClass="FondoCel1" />
										</f:facet>
										<h:outputText id="v0002" value="#{trans.acquirerProfile.name}"
											styleClass="FondoCel3" />
									</h:column>
									<h:column id="c0003">
										<f:facet name="header">
											<h:outputText id="t0003" value="#{message.comercio}"
												styleClass="FondoCel1" />
										</f:facet>
										<h:outputText id="v0003" value="#{trans.commerce.name}"
											styleClass="FondoCel3" />
									</h:column>
					</c:if>
	
									<h:column id="c0004">
										<f:facet name="header">
											<h:commandLink id="t0004"
												value="#{message.case_ConsultationRevisionPunAdq}"
												actionListener="#{tx.txLogic.sort}" styleClass="FondoCel1">
												<f:attribute name="sortField" value="fraudScore" />
											</h:commandLink>
										</f:facet>
										<h:outputText id="v0004" value="#{trans.fraudScore}"
											styleClass="FondoCel3" />
									</h:column>

									<h:column id="c0005">
										<f:facet name="header">
											<h:commandLink id="t0005"
												value="#{message.case_ConsultationTablaColumna5}"
												actionListener="#{tx.txLogic.sort}" styleClass="FondoCel1">
												<f:attribute name="sortField" value="strAFSDesition" />
											</h:commandLink>
										</f:facet>
										<h:outputText id="v0005" value="#{message.revision2}"
											styleClass="FondoCel3"
											rendered="#{trans.strAFSDesition == tx.review}" />
										<h:outputText id="v00005" value="#{message.rechazar}"
											styleClass="FondoCel3"
											rendered="#{trans.strAFSDesition == tx.reject}" />
										<h:outputText id="v000005" value="#{message.aceptar}"
											styleClass="FondoCel3"
											rendered="#{trans.strAFSDesition == tx.accept}" />
									</h:column>


									<h:column id="c0008">
										<f:facet name="header">
											<h:commandLink id="t0008"
												value="#{message.case_ConsultationRevisionFechaTx}"
												actionListener="#{tx.txLogic.sort}" styleClass="FondoCel1">
												<f:attribute name="sortField" value="registryDate" />
											</h:commandLink>
										</f:facet>
										<h:outputText id="v0008" value="#{trans.registryDate}"
											styleClass="FondoCel3">
											<f:convertDateTime pattern="#{message.dateFormat}"
												timeZone="#{message.timeZone}" />
										</h:outputText>
									</h:column>


									<h:column id="c0007">
										<f:facet name="header">
											<h:commandLink id="t0007" value="#{message.stRevision}"
												actionListener="#{tx.txLogic.sort}" styleClass="FondoCel1">
												<f:attribute name="sortField" value="strPostDesition" />
											</h:commandLink>
										</f:facet>
										<h:outputText id="f07" value="#{message.EST_ALERTADA}"
											style="color: #021f91 !important;"
											rendered="#{trans.strPostDesition == 1}"></h:outputText>
										<h:outputText id="f08" value="#{message.EST_PENDIENTE}"
											style="color: #021f91 !important;"
											rendered="#{trans.strPostDesition == 2}"></h:outputText>
										<h:outputText id="f09" value="#{message.EST_CONFIRMADA}"
											style="color: #021f91 !important;"
											rendered="#{trans.strPostDesition == 3}"></h:outputText>
										<h:outputText id="f10" value="#{message.EST_FRAUDE}"
											style="color: #021f91 !important;"
											rendered="#{trans.strPostDesition == 4}"></h:outputText>
										<h:outputText id="f11" value="#{message.EST_DESCARTADA}"
											style="color: #021f91 !important;"
											rendered="#{trans.strPostDesition == 5}"></h:outputText>
									</h:column>







									<h:column id="c0009">
										<f:facet name="header">
											<h:commandLink id="t0009"
												value="#{message.case_ConsultationDetail}"
												actionListener="#{tx.txLogic.sort}" styleClass="FondoCel1">
												<f:attribute name="sortField" value="desitionDate" />
											</h:commandLink>
										</f:facet>
										<h:outputText id="v0009" value="#{trans.desitionDate}"
											styleClass="FondoCel3">
											<f:convertDateTime pattern="#{message.dateFormat}"
												timeZone="#{message.timeZone}" />
										</h:outputText>
									</h:column>
								</h:dataTable>
								
							
								<table width="95%">
									<tr>
										<c:if test="#{tx.txLogic.rowsFound == 0}">
											<td valign="top" align="center" class="FondoCelCab">
												<table>
													<tr align="center">
														<td valign="top" align="center" class="FondoCelCab">
															<h:outputText id="inf2" value="#{message.sinResultados}" />
														</td>
													</tr>
												</table>
											</td>
										</c:if>
										<c:if test="#{tx.txLogic.rowsFound > 0}">
											<td valign="top" align="left" class="FondoCelCab">
												<table>
													<tr>
														<td valign="top" align="left" class="FondoCelCab">
															<h:outputText id="inf2"
																value="#{tx.txLogic.totalRows} #{message.mensajeSuperior} #{tx.txLogic.firstRow + 1} #{message.mensajeSuperior2} #{tx.txLogic.firstRow + tx.txLogic.rowsFound}" />
														</td>
													</tr>
												</table>
												<c:if
													test="#{tx.txLogic.totalRows > tx.txLogic.rowsPerPage}">
													<table width="100%">
														<tr>
															<td align="left" width="50%">
																[&#160;
																<h:commandLink value="#{message.pagPrimera}"
																	action="#{tx.txLogic.pageFirst}"
																	rendered="#{tx.txLogic.firstRow > 0}" immediate="true" />
																<h:outputText value="#{message.pagPrimera}"
																	rendered="#{tx.txLogic.firstRow == 0}" />
																/
																<h:commandLink value="#{message.pagAnterior}"
																	action="#{tx.txLogic.pagePrevious}"
																	rendered="#{tx.txLogic.firstRow > 0}" immediate="true" />
																<h:outputText value="#{message.pagAnterior}"
																	rendered="#{tx.txLogic.firstRow == 0}" />
																] &#160;
																<t:dataList value="#{tx.txLogic.pages}" var="page">
																	<t:commandLink value="#{page}"
																		actionListener="#{tx.txLogic.page}"
																		rendered="#{page != tx.txLogic.currentPage}"
																		immediate="true" />
																	<h:outputText value="#{page}" escape="false"
																		rendered="#{page == tx.txLogic.currentPage}" />&#160;
																	</t:dataList>
																&#160; [&#160;
																<h:commandLink value="#{message.pagProxima}"
																	action="#{tx.txLogic.pageNext}"
																	rendered="#{tx.txLogic.totalRows > tx.txLogic.firstRow + tx.txLogic.rowsPerPage}"
																	immediate="true" />
																<h:outputText value="#{message.pagProxima}"
																	rendered="#{tx.txLogic.firstRow + tx.txLogic.rowsPerPage >= tx.txLogic.totalRows}" />
																/
																<h:commandLink value="#{message.pagUltima}"
																	action="#{tx.txLogic.pageLast}"
																	rendered="#{tx.txLogic.totalRows > tx.txLogic.firstRow + tx.txLogic.rowsPerPage}"
																	immediate="true" />
																<h:outputText value="#{message.pagUltima}"
																	rendered="#{tx.txLogic.firstRow + tx.txLogic.rowsPerPage >= tx.txLogic.totalRows}" />
																]
															</td>
															<td align="right" width="100%">
																<h:outputText
																	value="#{message.mensajeInferior} #{tx.txLogic.currentPage} #{message.mensajeInferior2} #{tx.txLogic.totalPages}" />
															</td>
														</tr>
													</table>
												</c:if>
											</td>
										</c:if>
									</tr>
								</table>
							</c:if>	
							</td>
						</tr>
					</table>
					<t:commandLink id="hiddenLink" value="CommandLink" forceId="true"
						style="display:none; visibility: hidden;"
						action="#{tx.comXServList}" />
					<val:validatorScript functionName="validateConsultForm" />

					<!-- Paginacion OBLIGATORIO-->
					<t:saveState value="#{tx.txLogic.rowsPerPage}" />
					<t:saveState value="#{tx.txLogic.firstRow}" />
					<t:saveState value="#{tx.txLogic.totalRows}" />
					<t:saveState value="#{tx.txLogic.pages}" />
					<t:saveState value="#{tx.txLogic.rowsFound}" />
					<t:saveState value="#{tx.txLogic.sortField}" />
					<t:saveState value="#{tx.txLogic.sortAscending}" />

					<t:saveState value="#{tx.txLogic.listTx}" />
					<!-- Paginacion OBLIGATORIO-->
					<t:saveState value="#{tx.dataTable}" />

					<t:saveState value="#{tx.txLogic.idServiceAcq}" />
					<t:saveState value="#{tx.txLogic.listServAcq}" />
					<t:saveState value="#{tx.txLogic.idCom}" />
					<t:saveState value="#{tx.txLogic.listCom}" />
					<t:saveState value="#{tx.txLogic.idProfile}" />
					<t:saveState value="#{tx.txLogic.listPro}" />
					<t:saveState value="#{tx.txLogic.hashCom}" />
					<t:saveState value="#{tx.txLogic.hashPro}" />
					<t:saveState value="#{tx.txLogic.cardNumber}" />
					<t:saveState value="#{tx.txLogic.scoreIni}" />
					<t:saveState value="#{tx.txLogic.scoreEnd}" />
					<t:saveState value="#{tx.txLogic.dateTxIni}" />
					<t:saveState value="#{tx.txLogic.dateTxEnd}" />
					<t:saveState value="#{tx.txLogic.state}" />
					<t:saveState value="#{tx.txLogic.stateM}" />
					<t:saveState value="#{tx.txLogic.menu}" />
					<t:saveState value="#{tx.txLogic.filtro}" />
					<t:saveState value="#{tx.txLogic.tarjeta}" />
					<t:saveState value="#{tx.txLogic.selectorName}" />
					<t:saveState value="#{tx.txLogic.idTx}" />
					<t:saveState value="#{tx.txLogic.firstRowsTx}"/>
				<h:inputHidden id="DivFor"></h:inputHidden></h:form>
				<script language="JavaScript">
				//<!--										
				    Calendar.setup({
				        inputField     :    "consultForm:txtFecInicio",
				        ifFormat       :    "%d/%m/%Y",
				        button         :    "f_trigger_c",
				        align          :    "B1",
				        weekNumbers	   :    false,
				        singleClick    :    true
				    });
				
				    Calendar.setup({
					    inputField     :    "consultForm:txtFecFin",
					    ifFormat       :    "%d/%m/%Y",
					    button         :    "f_trigger_d",
					    align          :    "B1",
					    weekNumbers	   :    false,
					    singleClick    :    true				
				    });    				    
					//-->
				</script>
			</ui:define>
		</ui:composition>
	</body>
</html>